<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>Coverage</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="stylesheet" type="text/css" href="../../style.css"/>
    <link rel="stylesheet" type="text/css" href="../../print.css" media="print"/>
  </head>
  <body>
    <table class="coverageTable" cellspacing="0" cellpadding="2">
      <tr><td class="reportHeader" colspan="6">
  <table width="100%">
    <tr><td valign="top">
      <h1 class="titleText">
        Clover.NET coverage report - 
                  Coverage 
              </h1>
      <p class="timestamp">
        <span class="heading">Coverage timestamp:</span>&nbsp;Friday, May 20, 2005 9:17:00 PM
      </p>
      <p class="navBar">
                  <a class="navBarModeLink" href="../../overview.html">Overview</a>
          &nbsp;&nbsp;
          <a class="navBarModeLink" href="../../namespaces/IBatisNet.DataMapper.TypeHandlers/ns-summary.html">Namespace</a>
          &nbsp;&nbsp;
          <span class="navBarCurrent">File</span>
              </p>
      <p class="navBar">
        &nbsp;&nbsp;&nbsp;
                  <a class="navBarLink" href="../../index.html" target="_top">FRAMES</a>&nbsp;&nbsp;
          <a class="navBarLink" href="../../files/TypeHandlers/ByteArrayTypeHandler.html" target="_top">NO FRAMES</a>&nbsp;&nbsp;
              </p>
      
    </td><td align="right" valign="top" class="stats">
      <table cellpadding="1">
        <tr>
                      <td  rowspan="3" valign="top">File Stats:</td>
                    <td align="right">LOC:</td>
          <td align="right">135</td>
          <td rowspan="3">&nbsp;</td>
          <td align="right">Methods:</td>
          <td align="right">6</td>
        </tr>
        <tr>
          <td align="right">NCLOC:</td>
          <td align="right">75</td>
          <td align="right">Classes:</td>
          <td align="right">1</td>
        </tr>
              </table>
    </td></tr>
  </table>
</td></tr>


      <tr><td class="hbreak" colspan="6">&nbsp;</td></tr>
      
              <tr>
    <td class="graphHeaderLeft">Source File</td>
    <td class="graphHeader">Conditionals</td>
    <td class="graphHeader">Statements</td>
    <td class="graphHeader">Methods</td>
    <td class="graphBarHeader" colspan="2">TOTAL</td>
  </tr>   
  <tr>
    <td class="graphItem">
                        TypeHandlers\ByteArrayTypeHandler.cs
                  </td>
    
    <td class="graphPercent">50.0 %</td>
    <td class="graphPercent">73.1 %</td>
    <td class="graphPercent">33.3 %</td>
    <td class="graphBarLeft">63.2 %</td>
    <td class="graphBar">
              <table cellspacing="0" cellpadding="0">
          <tr>
                          <td class="covered"><img alt="coverage" src="../../img/green.gif"
                  width="126" height="12"/></td>
              <td class="uncovered"><img alt="coverage" src="../../img/red.gif"
                  width="74" height="12"/></td>
                      </tr>
        </table>
          </td>
  </tr>     </table>
    
    <table cellspacing="0" cellpadding="0" class="srcView">
          <tr>
        <td class="lineNumber">
                  1
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  2
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#region Apache Notice</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  3
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment">/*****************************************************************************</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  4
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * $Header: $</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  5
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * $Revision: $</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  6
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * $Date: $</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  7
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  8
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * iBATIS.NET Data Mapper</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  9
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * Copyright (C) 2004 - Gilles Bayon</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  10
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> *  </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  11
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  12
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * Licensed under the Apache License, Version 2.0 (the "License");</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  13
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * you may not use this file except in compliance with the License.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  14
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * You may obtain a copy of the License at</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  15
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  16
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> *      http://www.apache.org/licenses/LICENSE-2.0</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  17
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  18
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * Unless required by applicable law or agreed to in writing, software</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  19
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  20
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  21
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * See the License for the specific language governing permissions and</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  22
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * limitations under the License.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  23
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> * </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  24
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="blockComment"> ********************************************************************************/</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  25
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  26
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  27
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#region using</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  28
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  29
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Data;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  30
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.Globalization;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  31
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> System.IO;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  32
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  33
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Configuration.ResultMapping;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  34
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">using</span> IBatisNet.DataMapper.Exceptions;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  35
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="ppdirec">#endregion</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  36
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  37
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  38
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"><span class="keyword">namespace</span> IBatisNet.DataMapper.TypeHandlers</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  39
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">{</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  40
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  41
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="docComment">/// <span class="docContent">Description résumée de ByteArrayTypeHandler.</span></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  42
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  43
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    <span class="keyword">internal</span> <span class="keyword">class</span> ByteArrayTypeHandler : BaseTypeHandler</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  44
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  45
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  46
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  47
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  48
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// </span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  49
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;/summary></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  50
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="mapping">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  51
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;param name="dataReader">&lt;/param></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  52
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        <span class="docComment">/// &lt;returns>&lt;/returns></span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  53
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 53: Method GetValueByName entered 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 53: Method GetValueByName entered 2 times.">        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keyword">object</span> GetValueByName(ResultProperty mapping, IDataReader dataReader)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  54
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 53: Method GetValueByName entered 2 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  55
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 55: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 55: Statement executed 2 times.">            <span class="keyword">int</span> index = dataReader.GetOrdinal(mapping.ColumnName);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  56
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 53: Method GetValueByName entered 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  57
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 57: Expression evaluated to true 0 times, false 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 57: Expression evaluated to true 0 times, false 2 times.">            <span class="keyword">if</span> (dataReader.IsDBNull(index) == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  58
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 57: Statement executed 2 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  59
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 59: Statement not executed.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 59: Statement not executed.">                <span class="keyword">return</span> System.DBNull.Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  60
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 57: Statement executed 2 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  61
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 57: Statement executed 2 times.">            <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  62
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 57: Statement executed 2 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  63
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 63: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 63: Statement executed 2 times.">                <span class="keyword">return</span> GetValueByIndex(index, dataReader);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  64
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 57: Statement executed 2 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  65
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 53: Method GetValueByName entered 2 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  66
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  67
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 67: Method GetValueByIndex not entered.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keyword">object</span> GetValueByIndex(ResultProperty mapping, IDataReader dataReader) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  68
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  69
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">            <span class="keyword">if</span> (dataReader.IsDBNull(mapping.ColumnIndex) == <span class="keyword">true</span>)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  70
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  71
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">                <span class="keyword">return</span> System.DBNull.Value;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  72
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  73
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">            <span class="keyword">else</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  74
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  75
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">                <span class="keyword">return</span> GetValueByIndex(mapping.ColumnIndex, dataReader);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  76
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  77
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 67: Method GetValueByIndex not entered.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  78
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  79
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  80
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 80: Method GetValueByIndex entered 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">        <span class="keyword">private</span> <span class="keyword">byte</span>[] GetValueByIndex(<span class="keyword">int</span> columnIndex, IDataReader dataReader) </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  81
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  82
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 82: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 82: Statement executed 2 times.">            <span class="keyword">int</span> bufferSize = 100;                  <span class="lineComment">// Size of the BLOB buffer.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  83
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 83: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 83: Statement executed 2 times.">            <span class="keyword">byte</span>[] buffer = <span class="keyword">new</span> <span class="keyword">byte</span>[bufferSize];  <span class="lineComment">// The BLOB byte[] buffer to be filled by GetBytes.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  84
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 84: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 84: Statement executed 2 times.">            <span class="keyword">long</span> size = bufferSize;                <span class="lineComment">// The bytes returned from GetBytes.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  85
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 85: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 85: Statement executed 2 times.">            <span class="keyword">long</span> startIndex = 0;                   <span class="lineComment">//  The data position in the BLOB output.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  86
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 86: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 86: Statement executed 2 times.">            MemoryStream stream = <span class="keyword">null</span>;                   <span class="lineComment">// Writes the BLOB to a memory stream.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  87
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  88
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">            <span class="lineComment">// Create a memory stream to hold the output.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  89
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 89: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 89: Statement executed 2 times.">            stream = <span class="keyword">new</span> MemoryStream();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  90
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  91
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">            <span class="lineComment">// Reset the starting byte for the new BLOB.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  92
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 92: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 92: Statement executed 2 times.">            startIndex  = 0;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  93
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  94
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">            <span class="lineComment">// Read the bytes into outbyte[] and retain the number of bytes returned.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  95
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 95: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 95: Statement executed 2 times.">            size  = dataReader.GetBytes(columnIndex, startIndex , buffer, 0, bufferSize);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  96
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  97
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">            <span class="lineComment">// Continue reading and writing while there are bytes beyond the size of the buffer.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  98
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 98: Expression evaluated to true 11 times, false 2 times.">13</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 98: Expression evaluated to true 11 times, false 2 times.">            <span class="keyword">while</span> (size  == bufferSize)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  99
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 98: Statement executed 2 times.">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  100
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 100: Statement executed 11 times.">11</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 100: Statement executed 11 times.">                stream.Write(buffer, 0, (<span class="keyword">int</span>)size);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  101
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 101: Statement executed 11 times.">11</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 101: Statement executed 11 times.">                stream.Flush();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  102
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 98: Statement executed 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  103
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 98: Statement executed 2 times.">                <span class="lineComment">// Reposition the start index to the end of the last buffer and fill the buffer.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  104
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 104: Statement executed 11 times.">11</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 104: Statement executed 11 times.">                startIndex += bufferSize;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  105
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 105: Statement executed 11 times.">11</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 105: Statement executed 11 times.">                size  = dataReader.GetBytes(columnIndex, startIndex, buffer, 0, bufferSize);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  106
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 98: Statement executed 2 times.">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  107
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  108
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">            <span class="lineComment">// Write the remaining buffer.</span></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  109
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 109: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 109: Statement executed 2 times.">            stream.Write(buffer, 0, (<span class="keyword">int</span>)size);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  110
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 110: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 110: Statement executed 2 times.">            stream.Flush();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  111
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times."></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  112
                </td>
                  <td class="coverageCountHilight">
                          <a title="Line 112: Statement executed 2 times.">2</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 112: Statement executed 2 times.">            <span class="keyword">return</span> stream.ToArray();</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  113
                </td>
                  <td class="coverageCountHilight">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine" title="Line 80: Method GetValueByIndex entered 2 times.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  114
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  115
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">        </span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  116
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 116: Method ValueOf not entered.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 116: Method ValueOf not entered.">        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keyword">object</span> ValueOf(Type type, <span class="keyword">string</span> s)</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  117
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 116: Method ValueOf not entered.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  118
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 116: Method ValueOf not entered.">            <span class="keyword">return</span> System.Text.Encoding.Default.GetBytes(s);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  119
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 116: Method ValueOf not entered.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  120
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  121
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 121: Method GetDataBaseValue not entered.">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 121: Method GetDataBaseValue not entered.">        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keyword">object</span> GetDataBaseValue(<span class="keyword">object</span> outputValue, Type parameterType )</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  122
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 121: Method GetDataBaseValue not entered.">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  123
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 121: Method GetDataBaseValue not entered.">            <span class="keyword">throw</span> <span class="keyword">new</span> DataMapperException(<span class="string">"NotSupportedException"</span>);</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  124
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 121: Method GetDataBaseValue not entered.">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  125
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  126
                </td>
                  <td class="coverageCountWarning">
                          <a title="Line 126: Property IsSimpleType not exercised">0</a>
                      </td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 126: Property IsSimpleType not exercised">        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keyword">bool</span> IsSimpleType</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  127
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 126: Property IsSimpleType not exercised">        {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  128
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 126: Property IsSimpleType not exercised">            get</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  129
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 126: Property IsSimpleType not exercised">            {</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  130
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 126: Property IsSimpleType not exercised">                <span class="keyword">return</span> <span class="keyword">true</span>;</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  131
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 126: Property IsSimpleType not exercised">            }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumberHilight">
                  132
                </td>
                  <td class="coverageCountWarning">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLineWarning" title="Line 126: Property IsSimpleType not exercised">        }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  133
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">    }</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  134
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine">}</span>
                  </td>
      </tr>        
          <tr>
        <td class="lineNumber">
                  135
                </td>
                  <td class="coverageCount">&nbsp;</td>
                          <td class="srcCell">
                              <span class="srcLine"></span>
                  </td>
      </tr>        
        </table>

    <table class="coverageTable" cellspacing="0" cellpadding="2">
      <tr><td class="hbreak" colspan="6">&nbsp;</td></tr>
      <tr>
  <td class="footer" colspan="6">
    <table>
      <tr>
        <td><a target="_new" href="http://cenqua.com/clover.net/">
          <img class="linkImage" alt="Clover.NET" src="../../img/logo.gif"/></a>
        </td>
        <td>Report generated by 
          <a class="footerLink" target="_new" href="http://cenqua.com/clover.net/">Clover.NET v1.2.1941</a>
          <br />Saturday, May 21, 2005 11:01:44 AM.
        </td>
        <td class="footerMessage">Open Source License registered to the iBATIS.NET Project. This license of Clover.NET is provided to support the development of iBATIS.NET only.<br /></td>
      </tr>
    </table>
  </td>
</tr>    </table>
  </body>
</html>
